﻿<UserControl x:Class="GraphDrawer.NewEdgePopUp"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:m="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls.WatermarkedTextBox"
             >
    
    <Grid x:Name="MainPopupGrid" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">       
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.25" Fill="Black" />
        <Border CornerRadius="30" Background="Azure" Width="300" Height="300">
            
            <StackPanel Margin="5, 5, 0, 5">
                <Button Click="CloseBtn_Click" Content="Close" Style="{StaticResource CloseButton}"/>
				<TextBlock Text="Enter probability for newly created edge:" Margin="20,0,0,0" Foreground="Black"/>
				<m:WatermarkedTextBox Name="Name" Height="29" Margin="20,0,20,0"  Watermark="Probability [0 - 1]." TextWrapping="Wrap">
				</m:WatermarkedTextBox>
				<TextBlock Text="Type minimum time:" Margin="20,20,0,0" Foreground="Black"/>
				<m:WatermarkedTextBox Name="minTime" Height="29" Margin="20,0,20,0"  Watermark="Minimum time [integers]." TextWrapping="Wrap">
				</m:WatermarkedTextBox>
				<TextBlock Text="Type maximum time:" Margin="20,20,0,0" Foreground="Black"/>
				<m:WatermarkedTextBox Name="maxTime" Height="29" Margin="20,0,20,0"  Watermark="Maximum time [integers]." TextWrapping="Wrap">
				</m:WatermarkedTextBox>
				<Button Width="100" Click="Button_Click" Content="OK"  Margin=" 0 ,20, 0,0" />
            </StackPanel>  
            
        </Border>                        
    </Grid>
</UserControl>

